﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WSPay.Core.DTO;
using WSPay.Domain;

namespace WSPay.Application
{
    public interface IWSBService
    {
        WSBRechargeOrder CreateWSBRechargeBill(ChargeDto dto);
        WSBRechargeOrder CreateWSBRechargeBillForWeix(ChargeDto dto);

        void CreateSystemDefaultWSBAccount();

        void RechargeToWSBAccount(string  rechargeOrder,string alyOrderId);
        void RechargeFailure(string orderId);
        WSBPayMessageDTO WSBTransactions(WSBPayDTO payDto);

        WSBAccount QueryWsbAccount(Guid userId, string userName);

        IQueryable<WSBAccount> QueryWSBAccount();
        WSBRechargeOrder GetRechargeOrder(string orderId);
        WSBRechargeOrder GetRechargeOrder(int id);

        IQueryable<WSBAccountSeq> QueryWSBAccountSeq();
    }
}
